package com.example.mall.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.example.mall.common.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@TableName("`order`")
@EqualsAndHashCode(callSuper = true)
public class Order extends BaseEntity {
    private Long userId;
    private LocalDateTime orderTime;
    private BigDecimal totalAmount;
    private String status;  // PENDING、PAID、DELIVERED、RECEIVED、CANCELED
} 